/* 
    Document   : main
    Created on : Dec 1, 2011, 1:40:45 AM
    Author     : hoa
    Description:
        Purpose of the stylesheet follows.
*/
body {
    overflow: hidden;
    background-color:#e0dfe4;
    margin: 0;
}
#left {
    float:left;
    width:21%;
    height: 100%;
    overflow: auto;
}
.box {
    margin: 10px auto;padding: 5px;
    width: 90%;
    border: 2px solid #e0dfe4;
    background-color: white;
    -moz-border-radius: 5px;border-radius: 5px;
    -moz-box-shadow: 0 0 5px #333;-webkit-box-shadow: 0 0 5px #333;box-shadow: 0 0 5px #333;
}
.box-title {
    margin-left: 20px;
    font-family: serif;
    font-weight: bold;
}
/**
* Dinh vi trang
**/
.positioning {
    position: absolute;
    max-height: 100%;
    right: 0px;
    bottom: 0px;
    overflow:auto;
}
.positioning ul {list-style-type: none;}
.positioning ul li   {margin-bottom: 5px;padding: 10px 30px;}
.positioning ul li A {margin-bottom: 5px;padding: 10px 30px;
    background-color: #000000;
    color: #FFFFFF;
    
    font-family: sans-serif;
    font-size: 80%;
    font-weight: bold;
    
    border-radius: 1em 1em 1em 1em;
    box-shadow: 0 0 5px #333;
    -moz-box-shadow: 0 0 5px #333;
    -webkit-box-shadow: 0 0 5px #333;
}
.positioning ul li A:link   {text-decoration: none}
.positioning ul li A:visited{text-decoration: none}
.positioning ul li A:active {text-decoration: none}
.positioning ul li A:hover  {
    background: none repeat scroll 0 0 #e0dfe4;
    cursor: pointer;
    color:black;
}
/**
* VIEWER
**/
#viewer {
    float:right;
    width: 79%;
    height: 100%;
    overflow: auto;
    position: relative;
}
.layer-before-canvas {
    position: absolute;
    background-color: transparent;
}
canvas {
    position: absolute;
    background-color: #FFFFFF;
    -moz-box-shadow: 3px 3px 5px #333;
    -webkit-box-shadow: 3px 3px 5px #333;
    box-shadow: 3px 3px 5px #333;
}
input {
    border: 1px solid #7F9FB6;
    font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif;
    font-weight: bold;
    margin: 3px;
    padding: 2px;
}

/**
* OBJECT BUTTON STYLE
**/
input.object-button {
    width:  50px;
    height: 50px;
}
input#pointer {
    background: transparent url("icons/edit-select.png") no-repeat center;
}
input#pointer:hover {
    background-color: #e0dfe4;
}
input#addText {
    background: transparent url("icons/draw-text-2.png") no-repeat center;
}
input#addText:hover {
    background-color: #e0dfe4;
}
input#addImage {
    background: transparent url("icons/kgpg_photo.png") no-repeat center;
}
input#addImage:hover {
    background-color: #e0dfe4;
}
input#eraser {
    background: transparent url("icons/draw-rectangle-2.png") no-repeat center;
}
input#eraser:hover {
    background-color: #e0dfe4;
}

/**
* FORMAT BUTTON STYLE
**/
.format-button {
    width:  30px;
    height: 30px;
}
input#format-bold {
    background: transparent url("icons/format-text-bold.png") no-repeat center;
}
input#format-bold:hover {
    background-color: #e0dfe4;
}
input#format-italic {
    background: transparent url("icons/format-text-italic.png") no-repeat center;
}
input#format-italic:hover {
    background-color: #e0dfe4;
}
input#format-underline {
    background: transparent url("icons/format-text-underline.png") no-repeat center;
}
input#format-underline:hover {
    background-color: #e0dfe4;
}
input#format-strikethrough {
    background: transparent url("icons/format-text-strikethrough.png") no-repeat center;
}
input#format-strikethrough:hover {
    background-color: #e0dfe4;
}

/*
ELEMENT
*/
.textElement:hover {
    border: 2px red dashed;
}
.imageElement {
    
}
.eraseElement:hover {
    border: 2px red dashed;
}

.focusOn {
    border: 2px red dashed;
}

/**
OBJECTS LIST
**/
#containElements {
    min-height:0;
    max-height: 47%;
    overflow: auto;
}
ul#objectlist {
    list-style-type: none;
    margin: 0px;
    padding:0px;
}
ul#objectlist li {
    border: 1px #000000 solid;
    margin: 3px;
    padding:3px;
}
.li_focus {
    background-color: #fdf5ce;
}
ul#objectlist li:hover {
    background-color: #e0dfe4;
}
ul#objectlist li div.name {
    vertical-align: middle;
    display: inline-block;
    width:80%;
    height: 20px;
    overflow: hidden;
}
ul#objectlist li div.remove {
    float:right;
    display: inline-block;
    width:  20px;
    height: 20px;
    background: transparent url("icons/RemoveIcon.png") no-repeat center;
}
ul#objectlist li div.remove:hover {
    border-radius: 1em 1em 1em 1em;
    box-shadow: 0 0 5px #333;
    -moz-box-shadow: 0 0 5px #333;
    -webkit-box-shadow: 0 0 5px #333;
}